package com.example.ailiyuncloud.vo;

import lombok.Data;

import java.util.List;

/**
 * @Author: lqj
 * @Date: 2024-06-10 18:09:23
 * @Description:
 */
@Data
public class QueryCommodityOrderVO {

    /**
     * SKU_ID
     */
    private List<String> skuId;

    /**
     * 商品数量
     */
    private List<String> commodityNumber;

    /**
     * 订单备注
     */
    private List<String> orderNotes;

    /**
     * 订单地址
     */
    private List<String> orderAddress;

    /**
     * 订单手机号
     */
    private List<String> orderPhone;

    public boolean isEmpty() {
        return (skuId == null || skuId.isEmpty()) &&
                (commodityNumber == null || commodityNumber.isEmpty()) &&
                (orderNotes == null || orderNotes.isEmpty()) &&
                (orderAddress == null || orderAddress.isEmpty()) &&
                (orderPhone == null || orderPhone.isEmpty());
    }
}
